const express = require('express')
const router = express.Router()
const uploadController = require('../controller/upload')
const uploadMiddleware = require('../middleware/upload')
router.post(
  '/upload',
  uploadMiddleware.single('filename'),
  uploadController.upload
)
module.exports = router
